package com.quarter.action;

import java.util.ArrayList;
import com.quarter.dao.CompanyListDao;
import com.quarter.dao.impl.CompanyListDaoImpl;



public class CompanyListAction {
	public ArrayList<String> list = new  ArrayList<String>();
	public ArrayList<String> getList() throws Exception{
		CompanyListDao CompanyList = new CompanyListDaoImpl();
		list = CompanyList.ListAllCompany();
		return list;
	}
	
	public ArrayList<String> getListInfo() throws Exception{
		CompanyListDao CompanyList = new CompanyListDaoImpl();
		list = CompanyList.ListAllComInfo();
		return list;
	}
}
